﻿using System;
using System.Collections.Generic;
using System.Text;
using WindowsLive.Writer.Api;
namespace LiveWriterBTFL
{
    public class PluginSettings
    {
        IProperties m_properties;
        private const string PLACEHOLDER = "PLACEHOLDER";
        private const string ACTUALCODE = "ACTUALCODE";
        public PluginSettings(IProperties properties)
        {
            m_properties = properties;
        }
        public string PlaceHolder
        {
            get
            {
                return m_properties.GetString(PLACEHOLDER, "");
            }
            set
            {
                m_properties.SetString(PLACEHOLDER, value);
            }
        }
        public string FinalText
        {
            get
            {
                return m_properties.GetString(ACTUALCODE, "");
            }
            set
            {
                m_properties.SetString(ACTUALCODE, value);
            }
        }
    }
}